tools/libxl: Correct static pattern rule for pkgconfig files
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Jan 2015 20:34:02 +0000 (20:34 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 28 Jan 2015 09:59:46 +0000 (09:59 +0000)
commit027af8cdb348a97478a177d13871cacaa9b03366
tree9123d65a350b367187f467f3c274f6d2ea9dd493
parent2d61819c0b313ff7c8c0eedbe02d9d0197a7f57a
tools/libxl: Correct static pattern rule for pkgconfig files

Attempting to build libxl causes Make to emit the following warnings

andrewcoop@andrewcoop:xen.git$ make -C tools/libxl all
...
Makefile:253: target `xenlight.pc' doesn't match the target pattern
Makefile:253: target `xlutil.pc' doesn't match the target pattern
...

because the static pattern rule is malformed.  'Makefile' as the only
prereq-pattern does not contain a pattern.

The rule ends up working because of the use of $@.in where $< should have been
used, but lacked any dependency between a $FOO.pc and its .in source file.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/Makefile